package com.google.code.jdbclogger.logging;

public final class Slf4JLogger implements Logger {
    private final org.slf4j.Logger logger;

    public Slf4JLogger() {
	this(DEFAULT_LOGGER_NAME);
    }

    public Slf4JLogger(String name) {
	logger = org.slf4j.LoggerFactory.getLogger(name);
    }

    @Override
    public void log(String message) {
	logger.info(message);
    }

}
